<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Element Plus 初体验——全局导入</title>
    <link rel="stylesheet" href="../../../../css/element-plus.css"/>
<!--    <script src="//unpkg.com/element-plus"></script>-->
</head>
<body>
<div id="app">
    <el-button>我是 ElButton</el-button>
</div>

<script type="module">
    import {createApp} from "../../../../js/vue.esm-browser.js";
    import ElementPlus from "../../../../js/element-plus.full.mjs";

    let app = createApp(
        {
            setup() {
                return {}
            }
        }
    )

    app.use(ElementPlus)
    app.mount("#app")
</script>
</body>
</html>